/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.HashMap;
import ui.form.FGlavnaEkranskaForma;

/**
 *
 * @author Vlada
 */
public class Storage {

    private static Storage instance;

    private FGlavnaEkranskaForma glavnaForma;
    private HashMap mapaPodataka;

    private Storage(){
    
        mapaPodataka = new HashMap<String, Object>();
    }
    public static Storage getInstance() {
        if (instance == null) {
            instance = new Storage();

        }
        return instance;
    }

    public HashMap getMapaPodataka() {
      
        return mapaPodataka;
    }

    public FGlavnaEkranskaForma getGlavnaForma() {
        return glavnaForma;
    }

    public void setGlavnaForma(FGlavnaEkranskaForma glavnaForma) {
        this.glavnaForma = glavnaForma;
    }


}
